#
# Be sure to run `pod lib lint HFCalendar.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HFCalendar'
  s.version          = '0.1.0'
  s.summary          = '日历控件'
  s.description      = <<-DESC
日历、日期选择控件
                       DESC
  s.homepage         = 'https://gitee.com/dafei365/hfcalendar'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'liuhongfei' => '13718045729@163.com' }
  s.source           = { :git => 'https://gitee.com/dafei365/hfcalendar.git', :tag => s.version.to_s }
  s.ios.deployment_target = '9.0'
  
  s.subspec 'Utils' do |u|
      u.source_files = 'HFCalendar/Classes/Utils/**/*'
  end
  
  s.subspec 'Cell' do |ce|
      ce.source_files = 'HFCalendar/Classes/Cell/**/*'
      ce.dependency 'HFCalendar/Utils'
  end
  
  s.subspec 'View' do |v|
      v.source_files = 'HFCalendar/Classes/View/**/*'
      v.dependency 'HFCalendar/Utils'
      v.dependency 'HFCalendar/Cell'
  end
  
  s.subspec 'Controller' do |co|
      co.source_files = 'HFCalendar/Classes/Controller/**/*'
      co.dependency 'HFCalendar/Utils'
      co.dependency 'HFCalendar/Cell'
      co.dependency 'HFCalendar/View'
  end
end
